Fast Multiplication of the Algebraic Normal Forms of Two Boolean Functions

نویسندگان

  • Subhabrata Samajder
  • Palash Sarkar
چکیده

The contribution of this paper is twofold. Firstly, it proposes a simple algorithm which performs the multiplication of two n-variate boolean functions in their algebraic normal forms in O(n2) time and O(2) space. Secondly, it proposes a fast implementation (MultANFw) of the algorithm which works with w-bit words. Results for w = 8, 32 and 64 show that the 64-bit implementation is the fastest. To further analyze the performance, a sparse implementation has been done, which we call quadratic implementation. It has been observed that for a w-bit implementation, if the product of the number of monomials of the two input polynomials is < 2n−log2 , then the quadratic implementation performs better than MultANFw. It is also found that MultANFw performs much better than the algorithm internally used by SAGE for all the three variants, i.e., w = 8, 32 and 64. Our study also indicates that quadratic implementation performs better than SAGE.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Essential arity gap of Boolean functions

In this paper we investigate the Boolean functions with essential arity gap 2. We use Full Conjunctive Normal Forms instead of Zhegalkin’s polynomials, which allow us to simplify the proofs and to obtain several combinatorial results, concerning the Boolean functions with a given arity gap.

متن کامل

On the (Fast) Algebraic Immunity of Boolean Power Functions

The (fast) algebraic immunity, including (standard) algebraic immunity and the resistance against fast algebraic attacks, has been considered as an important cryptographic property for Boolean functions used in stream ciphers. This paper is on the determination of the (fast) algebraic immunity of a special class of Boolean functions, called Boolean power functions. An n-variable Boolean power f...

متن کامل

The Fourier Entropy-Influence conjecture holds for a log-density 1 class of cryptographic Boolean functions

We consider the Fourier Entropy-Influence (FEI) conjecture in the context of cryptographic Boolean functions. We show that the FEI conjecture is true for the functions satisfying the strict avalanche criterion, which forms a subset of asymptotic log–density 1 in the set of all Boolean functions. Further, we prove that the FEI conjecture is satisfied for plateaued Boolean functions, monomial alg...

متن کامل

Nonlinearity Computation for Sparse Boolean Functions

An algorithm for computing the nonlinearity of a Boolean function from its algebraic normal form (ANF) is proposed. By generalizing the expression of the weight of a Boolean function in terms of its ANF coefficients, a formulation of the distances to linear functions is obtained. The special structure of these distances can be exploited to reduce the task of nonlinearity computation to solving ...

متن کامل

The ANF of the Composition of Addition and Multiplication mod 2n with a Boolean Function

Compact formulas are derived to represent the Algebraic Normal Form (ANF) of f(x + a mod 2) and f(x × a mod 2) from the ANF of f , where f is a Boolean function on F2 and a is a constant of F2 . We compare the algebraic degree of the composed functions with the algebraic degree of the original function f . As an application, the formula for addition modulo 2 is applied in an algebraic attack on...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2013